<template>
    <div class="indexNotice posA posCenter">
        <noticetop v-on:menuCode="congzizujianlai"></noticetop>
        <leftM :flag="coddFromChild"></leftM>
        <div class="content">
            <router-view></router-view>
        </div>
        
    </div>
</template>

<script>
import top from './top'
import leftMenu from './leftMenu'

export default {
    name:'indexNotice',
    components:{
        'noticetop':top,
        'leftM':leftMenu
    },
    data() {
        return {
            coddFromChild:false,
        }
    },
    mounted() {
        
    },
    methods:{
        congzizujianlai:function(data){
            console.log(data);
            this.coddFromChild = data;
        }
    }
}
</script>

<style>

</style>
